<?php $this->load->view("common/header_mobile") ?>
<script type="text/javascript">
$(function() {
	//	$( "#job_start" ).datepicker({ dateFormat: 'yy-mm-dd' });
	});
</script>
<body>
  <?php $this->load->view("common/speel_mobile_page") ?>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="1265" valign="top">  
	  <div id="crum">
<?php echo $crum ?>
</div>

	  


  
  <table width="98%" border="0" align="center" cellpadding="5" cellspacing="0" rules="groups">
    <tr class="tblHeader panelHeaderBgColor">
    <td align="left">#</td>
    <td align="left">Client</td>
    <td align="left">Job Subject</td>
    <td align="left">Type/Pri</td>
    <td align="left">Alc. User</td>
    </tr>
<?php foreach($jobs as $job) { 
	$trClass = "tblBody";
	if($job['active'] == 0) 
		$trClass = "tblBodyInactive";
?>
  <tr class="<?php echo $trClass ?>">
    <td width="10" align="left"><?php echo $job['id'] ?></td>
    <td width="100" align="left"><?php echo $job['company_name'] ?></td>
    <td width="150" align="left"><?php echo $job['job_subject'] ?></td>
    <td width="134" align="left"><?php echo $job['job_type'] ?> / <?php echo $job['job_pri'] ?></td>
    <td width="110" align="left"><?php echo $job['firstname']." ".$job['lastname']   ?></td>
    </tr>
<tr class="<?php echo $trClass ?>" style="border-bottom:1px solid #999" id="jobId_<?php echo $job['id'] ?>">
    <td align="left" 
    style="padding-left:5px;font-size:.8em"
    >&nbsp;</td>
    <td colspan="4" align="left" 
    style="padding-left:5px;font-size:.8em"
    ><?php echo $job['job_description'] ?></td>
    </tr>

  <?php } ?>
</table>
  
  </td>
    </tr>
</table>

<?php $this->load->view("common/footer_mobile") ?>
</body>
</html>
